package com.wang.pojo;

import java.math.BigDecimal;

public class HomeCost {

    private int id;//id
    private String costName;//消费名称
    private BigDecimal money;//消费金额
    private String date;//消费日期
    private BigDecimal sum;//累计消费
    private String remark;//备注
    private int user_id;//创建人id
    private String name;//创建人昵称

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCostName() {
        return costName;
    }

    public void setCostName(String costName) {
        this.costName = costName;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public BigDecimal getSum() {
        return sum;
    }

    public void setSum(BigDecimal sum) {
        this.sum = sum;
    }


    @Override
    public String toString() {
        return "HomeCost [id=" + id + ", costName=" + costName + ", money=" + money + ", date=" + date + ", sum=" + sum + "]";
    }

    public HomeCost() {
    }

    public HomeCost(String costName, BigDecimal money, String remark, int user_id) {
        super();
        this.costName = costName;
        this.money = money;
        this.remark = remark;
        this.user_id = user_id;
    }

    public HomeCost(int id, String costName, BigDecimal money, String date, String remark) {
        super();
        this.id = id;
        this.costName = costName;
        this.money = money;
        this.date = date;
        this.remark = remark;
    }

    public HomeCost(int id, String costName, BigDecimal money, String date, BigDecimal sum, String remark, int user_id) {
        this.id = id;
        this.costName = costName;
        this.money = money;
        this.date = date;
        this.sum = sum;
        this.remark = remark;
        this.user_id = user_id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
